fixed a bug in case-insensitive user search; my kingdom for ILIKE