Fix in ObjectDatabase Map type casting on loading