Fix for 5.4

- array_diff is broken in 5.4 and up when used with nested arrays