Grammar validation bug fixed.