Fix bug in compatibility code for `org-remember-templates'.