Fix zero weight check on services with regression test fixes #167