Fixed duplicate workspace tab issue