Drop levels from factors when subsetting APResult data frame