Fixed bug when no players were left in a world

Previously, if no players were left in a world, all bosses would be
removed from the internal boss list, because somehow,
livingEntity.isValid() returns false if no players are left in a world.
Now all bosses are purged from a world if nobody is in it anymore.