fixed errors while adding variable products with non-taxonomy attributes, closes #6082