Solute rejection in the presence of a deposited layer during ultrafiltration