Added --limit option to cortex_filter_paths.pl