QueryPhrase bug fixed