Fix bug stopping the links working correctly after a stock adjustment ha...

...s been done