Fix for Issue #333

I added a second check in case `size` is ever changed to being an unsigned variable, such as a `size_t` (which is what I think it should be).
Merge pull request #340 from moshekaplan/patch-1

Fix for Issue #333