fix segfault when changing soft threshold when no analysis is loaded