Fix object:modified firing incorrectly with groups. Closes #717