Fix Warnings containing single quote

' would break SQL syntax. Automatically remove them from the reason in
warnings.
Fix unmute throwing sql error