Fixing getSolveIntegerResource()