Fix deleting associations