Replaced naive implementation of FIRST1 for chain of symbols with a correct one.