This is an error in Integral's `free_symbol` routine. One way to handle such situations is to 1) fix the problem or 2) file an issue as you have done here. The benefit of (2) is that *your* changes move ahead and your PR doesn't get broader and broader in scope.