Ensure the jam filling is completely cooled before assembling the jam slice to prevent the topping from getting soggy.