Fixed queue dispatching
Merge pull request #6804 from ibrasho/bus_queue_fix

[5.0] Fixed bus queue dispatching