Make sure that the exposure checking method doesn't trip up if the resource may not be viewed and is therefore None.

Fixes #114.