Might also check if the length here is 0... if you're following the `get()` causes creation pattern, then a 0-length element is equivalent to a null value.