QueryType cannot be blank.