Prekeys bug in registration