Prevent profile items from being hidden upon edit [MJ-248]

A few templates had malformed HTML, which caused tests to fail. This has been resolved.

All tests pass.