Favor equality check over nil check