Simplify setCurrentTerm command.