Migrate the logical and expressions