CAAERS-6540 fixed NPE when the cause for an attribution is new and doesnt have an id