Avoid symlinks in symlinks
Split type logic