fixing bug when new quote date is not the same as todays date