fix for materialized view dependencies