Fix condition in Quote Model