Fixed a possible memory leak in filter_msg.h
Reversed the logic from should not print line to should print line so we avoid double negatives.