[np] Fix uses of indexed get