Check if the user specified a boundary condition on a geometry entity that doesn't exist and throw an error if so.