Fixed Bug with Term selection