destroy solution join tables when solution is destroyed