Merge pull request #57 from treshugart/master

Implement #56
Replace items that are directly set to a has-many relationship rather than appending to them. Fixes #33.