fixed custom daterange bugs regarding min/max and setDate