Prevent divide by zero error. Set autoescape default to false instead of None.