Fixed up response handling to remove bad characters instead of removing
the whole record