array_intersect() breaks with nested array in php 5.4