Fix respond_to's misuse of is for string comparison.