bug fix for the date selection in summary view