Make AbstractCompletionProvider's default Comparator a little more robust