Fixes sorting/searching for view registrants tables, removes comments from basetemplate & controllertemplate