Fix bug in evaluation of 'and' expressions