VID-1877 Update script to filter out one line galleries