Changed return for return_es to avoid possible stack underflow

CHanged and and or operators to the correct SCAND and SCOR.