Only delete if it exists
Fix Drupal resource observer bug and ide creation bug