Prevent empty lists in annotations.