Crash fix, this check got removed accidentally