1) PRD generation fixes related to ctx enquiries
2) Stop searching for transitions once we have found what we're looking for.