Compare user_id's rather than user objects.
Use length rather than count when the relation should already be materialized.
Fix control-link-region display toggling.
Add can_control_other_agents to the response hash of type_details.