Finally fixed all bugs in calculating vacation days