When doing a back course with an HSI, you have to put the LOC course in as the course, not the direction you are landing. This causes the HSI to be "upside down" and automatically reverses the sensing for you.
The other way is to put the runway course in, but then tell the SL-30 to be in backcourse, in which case it just reverses its outputs.