Simplified select condition