microORM - Fixing some bugs on the code.