[ALLI-3068] Fixed an ordering problem in date parsing causing yyyy-mm-dd being parsed as a range.