allsum: Fix sum checking from prompt