Fixed function use 'filter_has' to 'filter_has_var'.