Fix the 5-arg text() function.