Fixed the select workset bug