Adding more checks when updating the filters entries after loading a new file.