Post show up as post and pages

I just wanted to post the solution here instead of deleting just in case this ever helps anyone else.

The problem was this 1 small function I had tucked away in a setting file…

/**
 * change number of posts shown per page in admin area
 */
function admin_pagination(){
    global $wp_query;
    $per_page = 5;
    $wp_query->query('showposts=". $per_page);
}
add_action("admin_head', 'admin_pagination');

This caused all Post to show up under the Admin section for Post and Pages so do not use it! I had found this snippet on a WP site somewhere