Make sure we only show the dropdown entries that are actually allowed to...

... be triggered

This was for some reason left over in the last merge request by Onur.