Fix for in-element to not detect variants