Fix magic quotes affect on DB::safe