prevent error on new M2M item
Merge pull request #471 from WellingGuzman/issue-470

prevent error on new M2M item