Additional error checking and messages for agent_nest