Fixed time off bug.
Merge pull request #1284 from affektive/my_time_off_fix

Fixed time off bug.