Fix that return value did not match expecting it when inserting a large object