Added missing imports and fixed logical bug related to $filtAfterDate
Merge pull request #450 from cmfcmf/patch-3

Added missing imports and fixed logical bug related to $filtAfterDate