destroy join records on deletion