possible fix for multiple registrations
fixed recursive issue.
Merge pull request #216 from scopatz/multiauto

Fix for multiple registrations when using autoall