Fix for trace_gases getting massive and killing the server.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
Merge pull request #3860 from Mloc/mlocisanidiot

Fix for trace_gases getting massive and killing the server.