Fixes #1349 Custom moderation tools confirmation page issues.
Cleans input values.
Merge pull request #1350 from Sama34/fix-1349

Fixes #1349 Custom moderation tools confirmation page issues.