I noticed multiple issues (different queries) in your post. So to document them smoothly i split this issue to a different post so that it can be indexed properly and users with similar query could reference for the same.
Regarding your query, would you mind having a look at the post discussed previously (it should help you understand and solve your issue):