It would appear that spm_summarise does not take into header differences into account, while custom functions adjustXyz and roiFindIndex do.