These two conditions should be combined into a single `if` statement.