Fixing issue caused by using $wpdb->prepare with two IN clauses. Can't pass two arrays in $wpdb-prepare that way