Fixed 500 error when changing date range
Merge pull request #2185 from lwyszomi/90684-case

Fixed 500 error when changing date range