fixed: return value wasn't updated in GetLogicalAddresses()