Fix a couple of bugs with the average_completion_time
Version 0.4.1 - bugfix for average_completion_time