You should not access directly the coordinates of a cell (this is CellularGridSpaceND implementation dependent) and use methods from KSpace instead.
So either you decode with uKCoord() then your filter, or better use method uIsOpen to check "oddity" of coordinate.