findRefCell: Corrected the type of the reduction function.