We need the array support here for the case of many location / organization context.
Try the Array.wrap method instead of to_a.
See:
  http://apidock.com/rails/Array/wrap/class