Fix parsing of empty array in grammar.