It won't find self because the schedule_id of self will be equal to the schedule_id of the relay already in the database.