Broken compound update

Closes issue #52.

The Unit and Acceptance test ensures that the bug doesn't exist anymore.