Fixed bug where a profile could not be switched to if no data was immediately added to it.