N1QL limit & offset optimization issue

@kenshaw_m thank you for hint