added missing parenthesis to OR relation in entity selector