Curious that there was no change to the 'StockLocation' anywhere only Quotations. (perhaps you had a change applied locally?)
Anyway, no big deal. Applying that simple change makes sense because of the potential use at four places between lines 800-815 as all that handling is contained within the 'else' block that starts at line 643.
I'll have both of those changes (the search fix and location set) committed in just a moment.
Changes committed to SVN.