Changed check of empty query