Bug fix for araplanner