Issue #2204037 by kpv, Lendude: Views allows removal of required relationships and gives a fatal error on save (cherry picked from commit 49db6446)