SSP-2080 Add appt mod date to group by clause (SQLServer)