The query will fail when you click on the Agent Name in the Form tab of the SQL job