Fix adding duplicate backends
Fix adding duplicate keys
Fix adding duplicate locations
Fix adding duplicate images
Fix adding duplicate metrics
Fix adding duplicate rules
Fix adding duplicate sizes
Fix adding duplicate machines
Merge pull request #218 from mistio/fix_controllers

Fix controllers