Fix an infinite recursion error