Fix: (reported by: Andrew McGilvray) get_raw_stats error 500 when calling a spare scheduler. Fix #1270