Bugfix for wrong array key.