Thumbnail filter was not applied when allow_upscale=true and one dimension is exactly the same

e.g. 100x73 was not resized to 100x100
Merge pull request #200 from teohhanhui/patch-1

Thumbnail filter was not applied when allow_upscale=true and one dimensi...