Add a check for no nodes available in Raptor