Handle null doc lines