Your recordset is filtered with: $_GET['ID']
The other recordsets are filtered with: $_GET['record_number']
Are you passing in both of those? Maybe the issue is that the record_number url parameter isn't being passed into the page? Maybe those should be updated to use $_GET['ID']?