validating limit of ids requested in Base::find