Fixed a bug that wouldn't let sync perform.