Fixing GQ filter bug