fix infinite loop in paging by clearing Next/Previous fields from previous query
fix infinite loop in paging by clearing Next/Previous fields from previous query

oyvindsk/facebook,christer155/facebook-1,huandu/facebook