Fix product versioning in mongo when modifying categories and groups