Simplify case into an if-without-an-else