Fix typo: is => if

Spotted a minor typo, I think this should be it, but if not you can fix it yourself I guess :)