Fixing bug in template: selected values of a user was not shown