Fixing `unglue` array iteration to catch all elements.

Fixes #221.