Removed redundancies in selected path.