Added check for version string.

Previously this state would be true if ANY package version was installed regardless of version specified.

Meaning that if you specified app version 2, if version 1 was installed it would return true. This simply checks to see if you specified a version.