fixed errors while creating new Entity via create() method
fixed errors while creating new Entity via create() method

rafis/ClosureTable,franzose/ClosureTable,EspadaV8/ClosureTable,ramirezd42/ClosureTable