I don't think that's a bug. Both headings are 'linked' to John 13:1, so you should expect the notes to appear against both headings.