Fix assoc list in IMS prepare to include unassoc'd AgentInstances
Merge pull request #1120 from daf/prepare_mods

Fix assoc list in IMS prepare to include unassoc'd AgentInstances