Could you try removing this else please?

As you if returns just above, this else is useless speaking at the code level.