[eval2] Fix the keyword argument validity check.