Minor bug fixes in getting octIndex from received name