Strain the custard mixture through a fine-mesh sieve before pouring it into the pie crust to remove any lumps and ensure a smooth filling.