A market meltdown can be positive for investors, but a diverse portfolio is required to mitigate risks