Swap sub filter dates in case of user error

Reverses the beginning and end dates for submissions filtering if the
user inputs a beginning date that is after the end date.