Radu, could you have a look at https://issues.apache.org/jira/browse/SLING-6350
and the attached patch?
If that really is an issue I would like to see this fix included in the API
> On 30 Nov 2016, at 17:24, Radu Cotescu <r...@apache.org> wrote:
> We solved 5 issues in these releases:
> Staging repository:
> You can use this UNIX script to download the release and verify the
> sh check_staged_release.sh 1586 /tmp/sling-staging
> Please vote to approve this release:
> [ ] +1 Approve the release
> [ ] 0 Don't care
> [ ] -1 Don't release, because ...
> This majority vote is open for at least 72 hours.