Fixed knobBefore not being optional.

closes #1951
Merge branch 'origin/master'