Fixed date filter of searchFormInputs when the date is an empty string, And small chang test case.