Bugfixes to SNI and FI

This commit includes urgent bugfixes to SNI and FI, that caused
the current node not being refreshed, and also causes error when
the filters were empty.