Fix empty profiles.

Boy do I feel smart right now. :-(