Fixes #4361 - api singleton broke commands for associations
Merge pull request #85 from tstrachota/fix_for_associations

Fixes #4361 - api singleton broke commands for associations