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

...on is exactly the same

e.g. 100x73 was not resized to 100x100