Fix retrieving versions for proxies

| Q                    | A
| -------------------- | ---
| Bug fix?             | ?
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | ?
| Tests pass?          | Y
| Scenarios pass?      | ?
| Checkstyle issues?   | N
| Changelog updated?   | N
| Fixed tickets        | ~
| Doc PR               | ~