[libqb] [PATCH 3/3] LOOP: fix the todo calculations.