The problem occurs because yuor timespan has gone past midnight.

Try making amendments like

(IF(L3>K3,(L3-K3)*24,(L3+1-K3)*24))
to your formula