Fix toggling of (parent) relations