Sounds like you may have needed more magnesium citrate. If you were deficient in magnesium at all, some of the mag citrate would have been used to fill the deficiency instead of relaxing the bilary ducts.
I would take more mag citrate now, wait an hour and do another coffee enema.