A fix for the error in the print view for some search strings.