Cysts that produce mucin and those inside the main duct have a higher tendency to become cancerous.