Fixes weird cases where mate counts could drop below 0