Fixed a bug where empty quotes could be submitted