Fixed bug in new getWork calls