using the loop in custom meta is messing up ‘add new’ post type

After you create a custom loop, you need to restore the global post variables with wp_reset_query().