The SNP was bidding to take Scotland’s safest seat after long-serving Lib Dem MSP Tavish Scott stood down.