During transportation additional life forms may, and will more than likely, die off, increasing the amount of dead organic material present in the sand. All this organic material decomposes in the tank and may give rise to ammonia and the ensuing nitrite. I am not saying what you did is wrong but i have heard that sand goes bad after time and its a good thing to change it.