Hindsight is indeed a wonderful thing. Unfortunately D.P. couldn't see into the future.
IMO it could be because he's got a lousy memory generally - and because popping in on Kate for a few moments was of no significance at the time - and was then completely overshadowed by the tragedy which followed later that night.
In his certain knowledge that Madeleine had been abducted by a stranger - he would have no reason at that time to make any connection between that terrible crime and his own brief visit to 5A hours earlier.
It was only when Amaral decided that the parents - especially Kate - were guilty - and their friends had colluded with them that D.P.s visit was turned into a major issue. IMO he used it in an attempt to 'prove' a major discrepancy between KM, D.P. and GM in order to bolster his case against them. However in order to achieve that he made the claim that Gerry had said that D.P.s visit to 5A had lasted 30 mins. Gerry had made no such claim.
AIMHO
Gerry 10th May;
at 18H30, the time at which he saw DP next to the tennis court. DAVID went to visit KATE and the children and returned close to 19H00
http://www.mccannpjfiles.co.uk/PJ/GERRY-MCCANN-10MAY.htmHe said David left the tennis courts at 18.30 to visit Kate and the children. He returned close to 19.00. No mention of David going to collect equipment, no mention of why David went to visit Kate. I can understand why it needed clarifying.
Regarding the episode where he spoke to David on the 3rd of May, he says that he was playing tennis at 18:30 when David appeared near the tennis court and asked him if he was going to continue playing. G. said he didn't know because Kate might be needing help to look after the three children, because they intended to bring them to the recreation area after their showers. He thinks that David offered to check if Kate needed help, which he did, and returned minutes later. Regarding his previous statement where he states that David returned half an hour later around 19:00, he says that he returned to the tennis court after half an hour, as this time frame refers to the second time he returned to the tennis court after getting ready for the game.
http://www.mccannpjfiles.co.uk/PJ/GERRY-MCCANN-ARGUIDO.htmSo Gerry says now that David went to the tennis courts at 18.30, went to see if Kate needed help to bring the children to the play area, returned to the tennis courts a few minutes later to report back, then left again for his apartment returning close to 19.00.
Something else David forgot about; the double journey.