Prioritize active records before filtering a bounded history window
When a read surface removes synthetic records after fetching a bounded history window, recent excluded records can fill the window and hide an older active record. If active work is the product priority, place active records first before applying the database limit, then apply ex…