Bug fix for array of plain hashes