Fixes for shift_left / shift_right.