Fixes #3312: Sanitize payment titles.