Maybe that is what you have been told. Maybe that is how it was supposed to work by design. But in practice it is very different.
The fact is that in many circumstances the 'Collect All' does collect raided buildings. And there is a big difference between the Android and iOS experience on this issue.