remove problematic code that was incorrectly pruning public schema versions