Core critical error: invalid corpus handle submitted to database.