Fix getPlayerFrom, getNPCFrom, and getListFrom by stripping the prefix before fetching the object.