fix conditional for logstash version