Move the SBR patch count check to prevent overwrites.