Resolve an exception caused by the value of users attribute being an array