Fix exception when retrieving quotes by id
Fix exception from timer-based quoting