Null pointer exception in logstash filter

I believe that error is caused by a numeric comparison with a non-existent field. See here.