A note on shape invariant potentials for discretized Hamiltonians