Messing atoms coloring if new species appears or disappears between frames

OVITO incorrectly assigns particle types to atoms for multiframe files in case of different sets of species in different frames.

Example of the file:

test.xyz

First frame view:

0

Second frame view:

1

Please, look at Particle types on the right. The second frame is displayed correctly. The first one is messed.