Lagrange method couldn't handle moments due to missing elif.
Merge pull request #2653 from jgoppert/lagrange-moment-fix

Lagrange method couldn't handle moments due to missing elif.