Block invalid matches in bracket creation