Add app_id index to deliveries