Isitup fix (#1072)

fixes #1072
nice catch @V01D-eXe

Lets use `===`

imo a ternary might be a little cleaner here too