Pass msg_level and remove duplicated checks

This makes the Study Description page render again.
Yay unit tests!!