After you start to input a value for a custom bang, you will be shown an autocomple suggestion. When you press the autocomplete suggestion, instead of using the bang, a regular search is performed instead of the bang.
If you complete the bang and press the enter key, the bang works as expected.
See screenshots.


Bang should be performed.