Makes sure strings are greater than 0 length, to prevent errors and crashing.