Was migrated to django 1.6 and is fixed some problems at database queries