Firebase launched yesterday the in/array-contains-any query. I will be happy if you can implement it ASAP : )
Reference: