Ensure correct behavior when assigning empty string