Fixing Cannot read property 'id' of undefined issue

This isn't a full fix as what it does is let kue bypass broken records.