Only shift when going from blank to nonblank