Changed empty string checker to a more efficient string length checker