Fix for the problem with filter when using WMS TIME parameters (#3795)
Merge branch 'branch-6-2'