MODE-1832: ModeShape CMIS component has bug in JcrService 

Just a quick fix for the logic error