diff --git a/src/js/modules/rangy-util.js b/src/js/modules/rangy-util.js
index <HASH>..<HASH> 100644
--- a/src/js/modules/rangy-util.js
+++ b/src/js/modules/rangy-util.js
@@ -69,17 +69,15 @@ rangy.createModule("Util", function(api, module) {
      */

     rangeProto.setStartAndEnd = function() {

         var args = arguments;

+        this.setStart(args[0], args[1]);

         switch (args.length) {

             case 2:

-                this.setStart(args[0], args[1]);

                 this.collapse(true);

                 break;

             case 3:

-                this.setStart(args[0], args[1]);

                 this.setEnd(args[0], args[2]);

                 break;

             case 4:

-                this.setStart(args[0], args[1]);

                 this.setEnd(args[2], args[3]);

                 break;

         }
Tidied setStartAndEnd() method