Fixing mongo group scan