Update dynamic filter with explicity type casting
Fix warning
More tests for dynamic filter
Fix dynamic filter with invalid date