CORE-5043: Added a check for a blank string to the stat endpoint.