Fixed blank catalog image count when zero image replies and threads with deleted files from being excluded