Hydrolysis of proteins during dialysis and ultrafiltration