Fixed displaying applications with the same name once in select to allow list

Fixes #2013