Fixed class selection in mQ()