Dunno why I did this.
Small bugfix for periodic sync.
Version 1.0.3