Same comment about using a length-based check here.