Fixed bug with math on quotes