Modified to remove closing bracket when obtaining an element.
Merge branch 'master' of https://github.com/cwrc/cwrc-validator
Modified so that Only real elements are sent for the path.