Removed need to cast empty string into an integer