[fix] Fixed deleting testing notes related to deleted users