IDetect pattern now returns list of occurences rather than jus the latest