Fix "previous-subthread" in reverse-threads mode, allow next-(sub)thread and previous-(sub)thread to work in limited mode. (From: Liviu Daia)