Fixed QueryParser pattern bug