Added parsing for searching by date