Add function to add RelativeDateFilter on search requests