You shouldn't miss it and I'm sure if you inform the train crew that you plan to catch the sleeper upon departure/first ticket check, and you have your reservations, then you should be able to claim the "free" SB travel if you miss the train; of course with the low frequency north of Inverness, that can quite easily be taken into consideration!
Might be worthwhile checking with FSR to see if that's the case?