fixing validations on join models to prevent duplication