Again, that is one problem, but that wasn't the trouble I was having... Even after changing the gt to > and lt to <, I still am having the same trouble. Here you can see the original and the thumbnail that I ended up with:
Images.
It's like the program forgets what it's doing and it just quits in the middle... It does this on multiple servers and with different files. Any thoughts on this?