Fix for Show selected name when using 'as'

Fix for  #35 issue