Attempted to fix the worldmap task's ability to run only for a subset of agents.