Empty source handling.

My webapp sometimes submits empty strings to load, this needs to be handled.