Interaction query optimized.