Fixed a sync issue that would allow duping of pearls