Bugfix: do not add empty in First set until checking the last symbol.