Less than or equal not working logstash filter and crashing

See the answer here.