Added addtional hasPostion check for ids in openssl with no position