Just a heads-up, I found two bugs today when I (finally) started to write code that queries the data stored in modeshape using JQOM. This time, however, I was able to hunt down the issue and fix them.
Hopefully the fixes are right, the good thing is that there exists workarounds. Just thought I'd save someone a little bit of head-banging-on-the-wall time.
Thanks for spotting & logging them, we'll integrate the fixes ASAP.