Search field becomes filled when I click the back button

Hello,

I am working on a prototype with a whole lot of complex interactions. I have come across an issue I cannot seem to resolve. I have a search field with a hint text on most of my pages. For some reason, every time I hit the back button (to go back to the previous page), the text in the search field on that page is filled. This only occurs when I click the back button.