Magnetic moment jumps in flat and nanopatterned Nb thin-walled cylinders