store flags in correct (separate!) variable
check if seed point is valid.
Merge branch 'bug-18426-FixCrash'