fix #33: Return an empty string in case of invalid input for amCalendar and amDateFormat filters