Fixed search date issue in events