Database query: Don't erase parameter test values if you change conditions

Database query: Don't erase parameter test values if you change (e.g. add) conditions

(if you make a change in the conditions, the test values are erased)