[bug]Display issues caused by database order

Reproducible version
AGMaker 1.0.20
Problem description
I noticed that if you create a new database on top of your old database (in terms of order), the content displayed in your “Display Text” function—which is supposed to show data from the old database—will be replaced with the content from the new database.

Reproduction steps

  1. Download the attachment, unzip it, import the project, and press F5 to run.
  2. Delete the user database “aaa” in the Database interface
  3. Press F5 again to run and observe the display

Attachment
databasebug_displaying_database_2.zip (2.4 MB)