Added empty check on matches