Fixing correct work with old links from version 1.0 (whitch already in DB). Task #40