Fix pesky in_array warning in relationship field