Resolve aliases when fetching records for creating new aliases.  Fixes #1.