unarr: prevent requesting more data than is available