Fix for previous MDAO fix. Fixes #269.