anishek/ashwin  | returning outside the for loop else only one subject type will ever have the correct number
anishek/ashwin  | escaping special characters in search.
anishek/ashwin  | #2304 | moving code around a bit
anishek/ashwin  | #2304 | providing the edit registration form link