Fixed the check_filter() calls that might be checking an absolute path