Never mind, I found out what was happening. Someone had set a "Paper" rule above the lower line.
it disappears then reappears as it moves above that box. I've checked everything I thought it could be but it's just not working. I've also tried it with a rule above with the same effect.
Also, does anyone know where I can find someone to write a script that would work in InDesign? I have to place several thousand images and I can't imagine doing it one-by-one.
Try this script: Fotobuch mit Adobe InDesign — Roland Dreger, Grafikdesign
Thanks for the reply but I figured out what was wrong.
Also, I'm looking for a script for something unrelated to this problem but I'm not sure where to start.