To troubleshoot those blocks, I would recommend a technique for checking variable values: Debugging in Thunkable X (Video)