Fixed (un)publishing from the administrator panel