Check blank query condition/