Fix typos

assure -> ensure
Merge pull request #1279 from Sophist-UK/fix_typos_assure_ensure

Fix typos