Bug fix when obtaining the correct range of duties for the first and last days. Now both the lower and upper limits are taken into consideration when performing this task and when appropriate. A further fix has been implemented to ignore spaces on names, as well as to consider names which are space by more than two spaces seperately