Fixing bug to prevent sidebar disabled links to be re-enabled