Fix change event triggered twice.
Merge pull request #37 from jails/master

Fix change event triggered twice.