fixes mainly in get_jstate_subset()
Merge pull request #21 from tttor/v.2.11

fixes mainly in get_jstate_subset()