Use an empty check instead of a null check so the empty string is also treated as the default value