Fix for portal download check