Fixed a bug in setCidr(). I think it did not migrate