[messages2] fix findUnsent()