Added functions to filter sequences that contain nil-values and to reindex
sequences.