Handle extended httpchk and tcp-check
diff --git a/haproxy/files/haproxy.cfg b/haproxy/files/haproxy.cfg
index f7c976d..0cdfcbd 100644
--- a/haproxy/files/haproxy.cfg
+++ b/haproxy/files/haproxy.cfg
@@ -169,10 +169,10 @@
   {%- endfor %}
   {%- for type, checks in listen.get('health-check', {}).iteritems() %}
   {%- if checks.get('enabled', True) %}
-  {%- if type == 'http' and 'httpchk' not in listen.get('options', []) %}
+  {%- if type == 'http' and 'httpchk' not in listen.get('options', [])|join('|')  %}
   option httpchk
   {%- endif %}
-  {%- if type == 'tcp' and 'tcp-check' not in listen.get('options', []) %}
+  {%- if type == 'tcp' and 'tcp-check' not in listen.get('options', [])|join('|')  %}
   option tcp-check
   {%- endif %}
   {%- for option in checks.get('options', []) %}