>>2748790negative prompts: bad hands, extra fingers, missing fingers, fewer digits, extra digit, bad anatomy
Your mileage may vary on those prompts. Some of them seem to be nothing more than placebos.
Mostly it's luck and the model itself. Generate 8 images and the hands will be ok on 1. The upscaling method may also affect it, but I haven't studied it enough.