Thanks for having a look.
If a record was returned in both cases, would that not make the total add up to more than the 5530 records though? Which would probably make sense like you say, ie a bit of double counting somewhere. But they are adding up to less then the 5530 records.
I'll play around with the SQL in phpMyAdmin and see if I can spot what's up.