*8996* Porting stats fixes

Seems odd. Why not empty()? Not that http://false/foo would be a valid url. :)