Code refactoring: Improved the condition.