Added a null check for the sweeoDeadBodies method