Fix argument checks in linda:limit()