Right.  That makes more sense now.  I think I have fixed all the spurious occurrences of `<= Nbands`.