Fixed the issue with sending study data to the server multiple times.