fix DeprecatedContainer

It was correctly emiting deprecation warnings, and invoking the correct
container methods, but was not returning there result.