LPS-29159 Add check before importing previews

Hope now it's ok.

Thanks!

@sergiogonzalez