Gallery 2 Imageblock Duplicates

I’m using Gallery2, integrated with phpbb2 and including the code suggested in the WIKI for an external imageBlock (curl)… The only problem is for some reason it’s displaying images twice with recentImage. randomImage works correctly, each image is unique, but with recentImage and viewedImage I’m getting the same image twice. See to see what I mean.

Does anyone else have this same problem when using external image block? The strange thing is that it was working for a moment when I first set it up, makes me think it must be a timeout or array related issue. Any ideas?