The castaways seem to have forgotten about the rifle they took off the Japanese sailor in "So Sorry, My Island Now".
When Gilligan descends the stairs near the end of the dream sequence, the shadow of the camera is clearly visible in the foreground.
The castaways could have easily disarmed Rodriguez of his pistol several times.