Fixed bug when no aliases are found