fixed retagging bug for django 1.3