Fixes runtime caused by missing check in sleeper code

As in title.