Fixed magic quotes issue preventing thread views updating