Correct check for random access.