more precise matching of haproxy state