Added toggled states to related ideas
Fixed front end  hack so both ends of the relation are updated instead of just one