FIX: use of array_diff with objects