Invert the condition to have a single return.