fix snafus in memory limit capability check
fix snafus in memory limit capability check

jsannemo/problemtools,Kattis/problemtools,ghamerly/problemtools,ghamerly/problemtools,jsannemo/problemtools,Kattis/problemtools,Kattis/problemtools,jsannemo/problemtools,ghamerly/problemtools,godmar/problemtools,jsannemo/problemtools,godmar/problemtools,ghamerly/problemtools,godmar/problemtools,Kattis/problemtools,godmar/problemtools