Bug in name selector repaired

Empty selection was allowed