fixed 'at least on of sn, barcode' constraint
Merge pull request #259 from xliiv/sn-or-barcode

fixed sn or barcode constraint