Fixing a case in image expressions that caused terrible perfomance.

fixes #8
Version bump.