MoveCorpsesToGraveyard converted to QueryDatabase