Fixing db router to correctly handle syncdb