Fixes error when adding assays with the same tech/meas type. Closes #274