Fix the bug calculating Follow set of mapping production.