You have a point, however I think it would be confusing for the user if sometimes the tab is there and sometimes is not (even if it is only two projects), could look like a bug. I think it is better that the tab is always there, and just show a message if no tickets are found, like is being done now. 

What do you think?