Move number list parsing beneath footnote parsing to ensure correct processing