Fix bug causing dependencies on an array to fail