oops: Fix crash creating canned responses

Fixes #1247