[UIMA-5637] JCasUtil.selectAt has different meaning than expected

- Replace && with || to fix the bug
- Extended unit test to cover the the problematic case


git-svn-id: https://svn.apache.org/repos/asf/uima/uimafit/trunk@1814770 13f79535-47bb-0310-9956-ffa450edef68
2 files changed