Fix IllegalArgumentException with /f list