Fix reference resolution jumping to wrong overloaded functions.