Fixed: Object state not set when creating content

+ Notice fix in InMemory/ObjectStateHandler.php