[authority] Fixed out of bounds exception on cert generation for a filtered user
diff --git a/releases.moxie b/releases.moxie
index 53aef4b..0ac22c6 100644
--- a/releases.moxie
+++ b/releases.moxie
@@ -12,6 +12,7 @@
 	 - Added more error checking to blob page and blame page

 	 - Disable SNI extensions for client SSL connections

 	 - Fixed prettify language extension loading

+	 - Fixed index out of bounds exceptions when generating client certificates for a user when the user's table has bene filtered

 	 - Use bash instead of sh in Linux/OSX shell scripts (issue 154)

 	 - Fix NPE when getting user's fork without repository list caching (issue 182)

 	 - Fix internal error on folder history links (issue 192)

diff --git a/src/main/java/com/gitblit/authority/GitblitAuthority.java b/src/main/java/com/gitblit/authority/GitblitAuthority.java
index 1a1f96d..1c0c142 100644
--- a/src/main/java/com/gitblit/authority/GitblitAuthority.java
+++ b/src/main/java/com/gitblit/authority/GitblitAuthority.java
@@ -464,9 +464,9 @@
 				

 				// refresh user

 				ucm.certs = null;

-				int modelIndex = table.convertRowIndexToModel(table.getSelectedRow());

+				int selectedIndex = table.getSelectedRow();

 				tableModel.fireTableDataChanged();

-				table.getSelectionModel().setSelectionInterval(modelIndex, modelIndex);

+				table.getSelectionModel().setSelectionInterval(selectedIndex, selectedIndex);

 				

 				if (sendEmail) {

 					sendEmail(user, metadata, zip);