Peter, a known problem.

HTML ids are supposed to be unique. Include a second identical one and it is not found.

You could try ensuring they are not Shared then changing the id of <div...