Fixed XPath instances got initialized multiple times for the same element