Fix call to getText
This refs #4837