Fixes task selection.