-added small tweak to the filtering