The problem was that the assignment function was reapplied and the resources were not notified with the changes.