These type of issues are mostly related with the query or with the relationships between the child and parent Table or Form records. I would like to add some point here, that may help in troubleshooting these sort of issues
1) Check the form query, you can do it this From Form –> setup –> Query tab
2) Check out the init() method, if it contain the args() setting, is it setting the query here.
Once you are able to figure out that it is the query issue, you can check the following steps:
1) Check out the relations on the table
2) Check out the code in init() and the execute Query() method. Check for the query related code.
Hope this helps.