FFMS_IndexBelongsToFile returns 0 when the index belongs to the file, not 1. Originally committed to SVN as r6526.