Is it happening to a VT?
cos my mum had the same problem, pretty sure it went in to get fixed, tho I never asked what the problem turned out to be, I'll find out later and let you know.
@ Matt
i had the same problem after having LPG installed on my vt
but for me after i changed plugs and leads and it was still doing it, it turned out the guy who tuned it was running gas to lean.
adjusted it and it's all good now!
a motor that has a slight miss running on lpg with backfire alot, be careful if you wash under the bonnet, same will happen if the leads get wet.
new plugs and leads should fix it everytime
itll continu 2 happen, just do what i did. get a valve put into the airbox. 99% of gas joints sell em, and when it backfires the valve will pop open venting out the backfire and leaving the airbox intact.