Fix Preconditions for metadata tool by applying Demorgan's law.