The pointer gets set when you link a diagnosis code to the target procedure code. Only those diagnosis codes which get linked to the target procedure code should be showing up in Box 24E.
If your software is automatically filling all 8 DX code slots, there must be a setting somewhere for you to change this behavior. Either that, or the software is expecting you to delete the unneeded DXs.