Removing debug output of query in element sum calculation