Fix regression on membership

I've had to correct this for 4.2 LTS - apparently $relTypeDir[$dir] is of type Array now. Have not have time to investigate why, but this statement is functionally equivalent and works with type Array().