Handle no selection of pub keys correctly