diff --git a/dreditor.user.js b/dreditor.user.js
index 97daa16..df352fa 100644
--- a/dreditor.user.js
+++ b/dreditor.user.js
@@ -1693,27 +1693,79 @@ Drupal.dreditor.issue.getSelectedComponent = function() {
   return version;
 };
 
+/*
+ * Gets the selected version
+ *
+ * Variations:
+ *   7.x
+ *   7.x-dev
+ *   7.x-alpha1
+ *   7.20
+ *   7.x-1.x
+ *   7.x-1.12
+ *   7.x-1.x
+ *   - 8.x issues -
+ *   - Any -
+ *   All-versions-4.x-dev
+ */
 Drupal.dreditor.issue.getSelectedVersion = function() {
   // Retrieve version from the comment form selected option label.
   var version = $('#edit-project-info-rid option:selected').text();
   return version;
 };
 
+/*
+ * Gets the selected core version
+ *
+ * Variations:
+ *   7.x
+ *   7.20
+ */
 Drupal.dreditor.issue.getSelectedVersionCore = function() {
   version = Drupal.dreditor.issue.getSelectedVersion();
-  version = version.match(/^(\d+\.x)-(\d+\.[x\d]+)/)[0];
-  return version;
+  var matches = version.match(/^(\d+\.[x\d]+)/);
+  if (matches) {
+    return matches[0];
+  }
+  else {
+    return false;
+  }
 };
 
+/*
+ * Gets the selected contrib version
+ *
+ * Variations:
+ *   1.x
+ *   1.2
+ */
 Drupal.dreditor.issue.getSelectedVersionContrib = function() {
   version = Drupal.dreditor.issue.getSelectedVersion();
-  version = version.match(/^\d+\.x-(\d+\.[x\d]+)/)[1];
-  return version;
+  var matches = version.match(/^\d+\.x-(\d+\.[x\d]+)/);
+  if (matches) {
+    return matches[1];
+  }
+  else {
+    return false;
+  }
 };
+
+/*
+ * Gets the selected core + contrib version
+ *
+ * Variations:
+ *   7.x-1.x
+ *   7.x-1.2
+ */
 Drupal.dreditor.issue.getSelectedVersionCoreContrib = function() {
   version = Drupal.dreditor.issue.getSelectedVersion();
-  version = version.match(/^(\d+\.x-\d+\.[x\d]+)/)[0];
-  return version;
+  var matches = version.match(/^(\d+\.x-\d+\.[x\d]+)/);
+  if (matches) {
+    return matches[0];
+  }
+  else {
+    return false;
+  }
 };
 
 
@@ -1827,7 +1879,7 @@ Drupal.behaviors.dreditorCommitMessage = function (context) {
       }
 
       // Build title.
-      var title = Drupal.dreditor.issueTitle();
+      var title = Drupal.dreditor.issue.getIssueTitle();
 
       // Add "Added|Fixed " prefix based on issue category.
       switch ($('#edit-category').val()) {
