fix bug where a pattern with no globs (just listing a file) wouldn't be checked correctly when restoring state.
version 1.2.2.