Missed this checking before.
Refactor for clarity.