Fixed ERRAI-617: Dynamically looking up beans in @AfterInitialization methods causes a concurrent modification exception