check-all-sums: Fix for recursive checks

Signed-off-by: Michael Buesch <m@bues.ch>