When you say 'randomly' does that mean the line after a forced break sometimes gets selected and sometimes doesn't?
If so is there a pattern to it?
I'll be happy to have a look at it but it sounds vaguely familiar from some time ago so I will run a search or two before contacting you with my email address.
Look on page 5 of this issue for the simplest solution:
In the unlikely event this solution does not work for you, check out the more complex solutions to the problem of page headers breaking up your data in parts 1 and 2 in the March and April 2003 issues: