Only show registration requirement if the setting calls for it

Was creating undefined indexes