Update handling of magic quotes (thanks, Laravel 3).