End Date Fix

End date wasn't working correctly. You could cause a runtime by setting
the end date filter beyond the max date.