Fix for empty popular lines