Check entity types when adding a view. All variables must have the same ...

...entity type as the view's entity type.