This is fine, i did the same thing. I moved from a 4x2x2 to a 6x2x2, my joists are soppurting the tank the same way yours is. I would go for more than 12" though because that isnt really much different.
I got it for free, so figured I mightaswell make the switch, lol