Fix #1063 $pids[0] used incorrectly for $post_info while splitting posts