offsetExists() should return true for null values, resolves #181