Improved check if a form can be found
We should not store in the session, forms should not be transferred between pages