Added condition to make sure an empty flexslider is not displayed.