Fix "Publications" and "Calendar" tab missing on clean installation

#5014