Fixed bug for quotes with no tags due to SqlNull