Changed check for image size.
Fixes for: EUCA-10042