Restrict to 5 recently edited products with filter instead of LIMIT

tables2 tries to order the table, which failed since we already took a
slice here.

Fixes #1456.