-Fixed bad population behavior of photos vis (was including documents as nil)

#1216