Fixed a bug that could cause registrations to fail