Fixed paginate for queries with empty results
Fixed paginate for queries with empty results

tarjei/DoctrineExtensions,n1889/DoctrineExtensions,pelex/DoctrineExtensions,pnvasanth/DoctrineExtensions,nimasdj/DoctrineExtensions,enumag/DoctrineExtensions,zilionis/DoctrineExtensions