Fixed another bug in the build_dim_schema utility. Arghhh.