Fixed a minor crash-causing screw-up