PIM-2237 : fix for extra parameters in QB

 - [x] move the removeExtraParameter method
 - [x] fix the case when only fisplay the family in the grid

| Q                   | A
| ------------------- | ---
| Bug fix?            | Y
| New feature?        | N
| BC breaks?          | N
| Tests pass?         | Y
| Scenarios pass?     | Y
| Checkstyle issues?  | N
| Changelog updated?  | N
| Fixed tickets       | PIM-2237
| Doc PR              |