Correctly index SecurityGroupId parameter when it is inside a NetworkInterfaces hash.
Merge pull request #2788 from kthakar/run-instances

Correctly index SecurityGroupId parameter