Good catch. Pretty sure I intended to do:
`!(isset($object['mods']) && islandora_datastream_access(FEDORA_VIEW_OBJECTS, $object['MODS']))`
(I've changed it to this)... Though on second thought:
`!isset($object['mods']) || !islandora_datastream_access(FEDORA_VIEW_OBJECTS, $object['MODS'])`
might read a little easier? Dunno.