Fix removal of multiple items from alias array

Removing items from an array which is being iterated orver does not
work.  Storing items and removing them after all removed indexes are
determined.
Merge pull request #2 from wildcatcs/Fix-removing-of-aliases

Fix removal of multiple items from alias array