Corrected InputGrouping for Relabling refactoring.