Remove single quotes from page values

This was causing the single quotes to show up in the string, and the check for not displaying it on the charts page wasn't working.