Refs #8953 - Retrieve monitor correctly when setting geometry details.

No longer fail silently in the case of an error.  Be a bit more
const-correct.

Add some asserts that hopefully make sense in the context of the function.