Fix #2: Fixed ValueOf for Long, Int