SESI-91

Solved bug where query data was not saved when adding/editing/deleting a term.