Fix undefined aid on disconnect
Merge pull request #2 from hubiquitus/feature/onDisconnectInvalidAid

Fix undefined aid on disconnect