         # Calculte new stats
         calculateStats()
 
-        _.each $scope.unassingedUs, (item) ->
-            if item.isModified()
-                item.save()
+        for item in $scope.unassingedUs
+            item.save() if item.isModified()
+
 
     $q.all([
         rs.getUsers($scope.projectId),


        $scope.tags = tags

    filterUsBySelectedTags = ->
        selectedTags = _.filter($scope.tags, "selected")
        selectedTagsIds = _.map(selectedTags, "name")

        if selectedTagsIds.length > 0
            _.each $scope.unassingedUs, (item) ->
                itemTagIds = _.map(item.tags, (tag) -> tag)
                interSection = _.intersection(selectedTagsIds, itemTagIds)

                if interSection.length == 0
                    item.__hidden = true

                    item.__hidden = false

        else
            item.__hidden = false for item in $scope.unassingedUs


    resortUserStories = ->
        # Normalize user stories array
