Minor bugfix in LSF memory unit check