Sorry, I'm struggling to piece this together, without seeing how the app looks.
I gathered from the original query that you have two forms, but based on the snippets you may have 4 forms, two on each screen - and there is also a gallery, which is connected to one of the two forms on each screen? - I'm also gathering that all these forms and the gallery are connected to the same table?
Would you mind sharing how the app UI looks and clarify what the snippets above relate to on the UI and what the process flow in the app is with the context of the UI images?
Can you confirm if 182 is the first ID in the data table?