Fix Views relationship

#2898