Added another global variable to data inconsistencies report.

References #438.
Added script for fixing the wrong mode for user content.

References #516.