WebUI: Filter function loading improved so it emulates better the Gtk behaviour