Fixed a part of a guard that I wasn't easily able to create a test for
using our spec test framework.