Fix wrong API function being used by achievements on stats page