Date range validation

While we already have some date range filter validation on the front end, we still need some on the back end for situations like users having javascript disabled.

This checks to see if A) both gte and lte filters were used and B) the gte date is after the lte date.

In that case, it swaps the two values.