Whatever it was previously would not matter if it was cleaned well. Even if not I doubt that there would be enough left behind to do damage. If the tank was dirty and water was added without you cleaning it that could def be it. I am still leaning towards something being in the sand, you can never assume that it is safe you really shouldclean it yourself to be sure.