Fixed isNumber to not return empty strings