This is required for the following commit where candidates from the original scope in presence of smart cast will not be ignored if they're the same symbol.
#KT-52236 Fixed