Hey, I have been encountered this bug for some times. When I drag to select a few layers together, sometimes the Sketch would automatically includes some layers from other artboards which are not in my dragged selection. This would happen persistently to those layers until I delete these layers. One of common thing I found on those buggy layers are those empty layers which are created when detached from a component.
Not sure if anyone else encounters such a bug before.