Fix infinite recursion at HAX::elem (line 287).