Moving to Q for asynchronous calls
Fixing the race condition when selecting multiples of a grammar type