Do not consider barcodes associated with None

Before, even if a barcode was not associated with a participant, it would
show up in the results tab.

This is important for compatibility with pull request #531