TIMOB-16913: Shortened if statement.