Changed getResults.categorical() to only use anyNA() when available (i.e., R version >= 3.1.0)