A user was kind enough to point out that when generating xpath for list items the xpath was generated wrong. It started at index 0 instead of 1. This is fixed.
Before when generating xpaths for this xml
The first item would result in this xpath.
But now it is like this.
As it should be. =)