Fixes #367 inline threads selection