Added check for installedVersion attribute