added another check for post_lists to make sure $meta is an array