convertToLong gets default value for empty String