Changes objectInputs tabs to not show the main tab if there are no fields and to hide the tabs entirely if there's only one tab with fields.