MODE-2174 JCR Query empty string in comparison (refactored)