Fixed Delete from Remote DB

Fixed Delete from Remote DB