Fixing this stupid xpath bug