Added gag check to ninode update routine, for snappier gag expression reapplication.