Fix for the check on a section being registered