Sanitize the given values correctly.
Merge pull request #1590 from Yoast/bulk_editor

Sanitize the given values correctly.