Bug fixes in copying alternates.