Fixing file selection sometimes being incorrect

Fixing an off by 1 error in the entry offsets