Fix bugs in seen plugin.