fixed approved time off bug; closes #1055