This was an if statement instead of else-if because the previous if clause `return`s.