Bugfix in LSF memory unit check