Fixed a broken ensure clause.