Fix crash in caption classifier with null text below