Combine multiple queries, array_unique returns nothing

It will work with the SORT_REGULAR flag:

array_unique( array_merge( $q1_posts, $q2_posts ), SORT_REGULAR );