Avoid views that reference themselves

When you use a view, ensure that it does not reference itself.

Calling a self-referening view causes queries to loop and may result in a stack overflow error.