Fix a bug when linking an already existing Bug object to a Bucket