Merge pull request #322 from mikeferguson/fix_approach_translate

fix segfault in approach translate