Section 7. The judgment in an action under this chapter shall not be a bar to any action thereafter brought by either party to recover the land or tenements in question, or to recover damages for any trespass thereon; but the amount recovered for rent under section five shall be deducted in any assessment of damages in such subsequent action by the original plaintiff.