Fix bug in haproxy plugin