Darktable shows only few images while collecting using format tag

I’m trying to sort images using file format tag but only 703 images of about 30k are tagged and only as cr2 (I’ve got crw and cr2). Maybe something is wrong with my database? Can I rebuild it?

You may want to try and reread your images metadata… Selected images module > metadata tab > refresh exit button.

Nope, same…