Fixed symlink checker