Remove gems duplicated from gemspec or unused

We are no longer using coverage tools
Back away from the ivar references
Fix logic bug. Use plan unique_id, not service

[#50046207]