Fix for Enabling Image View count extension causes fatal error.
Merge pull request #290 from jgen/master

Fix for Image View error