ACCUMULO-2582 Used the wrong variable in the conditional