Fixed tab validator if there is no tabs