Fixed deleting of used quotes

Fixes #40