Fix query on different state of conversations