need to check agains cases not total time
improved title
removed caching
do not allow case duration less than minute
added support for started and last_updated timestamps for assignments