Fixed error where assignments by site were not sorted by active date
descending.