Why did my air filter fill up with engine oil?

After replacing the air filter, I ran a bunch of carb cleaner through the PCV valve. The PCV valve would rattle when I shook it, before I cleaned it.
pcv valve not working as it should? blow-