Fix bug when there are no ability matches