Bug 26911: (bug 18936 follow-up) Remove invalid data before copying the circ rules