Bugfix for special case when markers weren't added correctly. This happens when a block is empty except for marker elements.