minor facilities fixes

depends on https://github.com/dimagi/commcare-hq/pull/162