Fixes #1178 Can't browse users on pgsql
Added templateset