Correct bank numbers when not in numerical sequence re #7617

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>