Avoid an IndexOutOfBoundsException if there are no property nodes when searching for the start index, return -1 instead