fix #882 if preview exists it should be the only media record