Fixed comment and issue destroy functions so that they now also updates the parents list of sub models