Fix incorrect serviveMap check