Fixed ugly bug on Object Database and improved performance on class inspection