use CTS::dacu_team instead of Team.where....
use CTS::dacu_team instead of Team.where....

ministryofjustice/correspondence_tool_staff,ministryofjustice/correspondence_tool_staff,ministryofjustice/correspondence_tool_staff,ministryofjustice/correspondence_tool_staff,ministryofjustice/correspondence_tool_staff