Fixed issue #7246: Impossible to filter by date