Fix remove_duplicates.py command line run