Fix #2301 about Phalcon\Paginator\Adapter\Model