Fixed error with attribute 'id' when not implicity added to models attributes