Prevent duplicate rows in rbm data/annotation join table