Fix redirect after tab creation