Fixed a small bug in the entity daemon.