WF-1705: Modified the code to enable tracking of last active date and last assigned date for tasks.
WF-1705: Modified the code to enable null value for last assigned date for tasks with no assignment.
Fixed NPE when specified role does not have any assigned users.