We cannot invert a method level refactoring when a parameter level refactoring happens to a method signature in the commit history after that method is refactored. This happens because the method refactoring object created by RefactoringMiner is not updated when the parameter level refactoring happens.
Solution:
Add coverage for parameter refactorings. Alternatively, add overage for the simplification logic for parameter level refactorings and add support for invert/replay parameter refactorings later.