Fixed Edit

The wrong records were appearing in the Edit screen.