Improve `/messages` response time by avoiding backfill when we already have messages to return.