Fixed bug with additional files

I added a check in the last minute before the release and I didn't
really check it hard enough. We need to create test cases to make sure
something like this won't happen again.