Prevent empty div when there are no flashes