Fix the bug for pattern with one pattern node