I have two suggestions for the fix:
AbstractLoadPlanBasedLoader.java Solves it exact for the collections
dbcCoordinatorImpl.java Solves it in a more generic way.