Fixing wrong value when putting the quote in the pending queue