Consistency between first() and last() with limit
#27597

brchristian wants to merge brchristian:first_last_parity into rails:master

We do not currently have an analysis of these two commits