added invalid date exception for simple search