Fix attribute error when titles are None (can't call strip on them).