Unable to verify production items in database

I got that error after adding a new bagger machine to my master project after saving it. I tried to save it more than two times but still got that error, which stopped my production setup. The only fix to get my production running it deletes the item that was added and saves it again.