Rewritten condition more clearly.