Fixed Message 'null' is not an object (evaluating 'Drupal.DADB[entity_id]['available']')