Roger that, meanwhile try doing in the Winter Transfer Window, by locking the "End of Season" option in any player(maybe take control of 2 managers to reproduce the problem).
So in the first season at mid season(Winter Transfer Window) i made a deal with Tottenham to sell my player just at The End of the Season, but when i confirmed the deal, the player immediately went/left my club to Tottenham!