Trac #570 - fix for non-date time max/mins not being parsed correctly.