fixes #5960 - also look at task states to determine completion

sometimes finish_time is not actually set
Fixes #5982: Ellipsis content search package descriptions to prevent overflow, BZ1012606.
Merge pull request #4176 from ehelms/fixes-5982

Fixes #5982: Ellipsis content search package descriptions to prevent overflow, BZ1012606.
Merge pull request #4161 from jlsherrill/states

fixes #5960 - also look at task states to determine completion