Prevent empty div when there are no flahses