Fix custom date field association (To/From) in Reports view

In bb317b5811cc10f52e41bf853e6b74a0ea9ee714, the `startDate` and `endDate` were apparently reversed.