Counter offers should be treated as temporary holdover for a variety of reasons. The issue listed above is definitely something that can happen, but accepting a counter offer from a company you clearly aren't all that happy at (or else you wouldn't have interviewed elsewhere) is only a bandaid...