update for warning generated when no conditions provide in query