Annoying fix.  Had to make service_ids in visits controller an array.  Works now.