bees: fix op_enc overflow and ban some pathological settings.
changelog