Collapsed field not expanding by default when it should