keyIds should not contain null-entries

- this is especially relevant when new models with null-ids are matched
against keyIds and a false-match (null === null) is found