Fix sync for custom storeNames

Fixes #87