Bugfix: Arrays are heap objects, so we must also look for aliases for them