Fixes typo/bug in detail::service