Fixes # 504; prevent wrong carrousel display if no images are available