Fixed issue where "Query plan threshold" from server settings was being incorrectly interpreted. This caused a spike in SQL traces as well as explain plan executions for clients using server configuration.
Fixed a potential memory leak when an update to agent configuration is performed.