Make sure you're on the top level of the Gallery. Next, make sure the top left sort selection says "Album". Now press Menu -> Content to Display and make sure the only option checked is "Content on Device".
If you've already done this, then I don't know where the other pictures may be coming from.
Samsung Galaxy S® 4 MJA Rooted with CF Auto-Root Tutorial
HTC EVO Design 4G™ v4.0.3 Bootloader Unlocked & Rooted with HTC SuperTool v3
If it ain't broke, use a sledge hammer.