fixes bug in date for recurring events