Fixed subtle [] matching bug