Fix: attempt to insert in system namespace error

During entity save using the cross-store feature the module throws an exception: "nested exception is com.mongodb.MongoException: attempt to insert in system namespace '<dbname>.<full-package>.<class-name>'".