Fixing bug in getEfforts.