Fix issue #22 where only one element was returned by findElementsById