Added checks for 'no such object' and 'goal already fulfilled'