issue #19827: Make sure quote numbers release properly.