Fixed a bug where alias overwrite resolution was not working