fix to sections method / add post types to params for search properly