tiny fix for determining duration of basal when looking up from schedule
tiny fix for determining duration of basal when looking up from schedule

tidepool-org/chrome-uploader,urmc-costik/chrome-uploader,urmc-costik/chrome-uploader,pazaan/chrome-uploader,ioet/chrome-uploader,pazaan/chrome-uploader,ioet/chrome-uploader,ioet/chrome-uploader,pazaan/chrome-uploader,tidepool-org/chrome-uploader,urmc-costik/chrome-uploader,tidepool-org/chrome-uploader