Check for some cases that produce empty lists.