Fix bad function ref per #3177

How in the devil has this not caused more problems?