This condition has been checked at the beginning of the function. Noticed this in the code coverage report.