Fixed errors in Quotes model/controller