Fixed minor bug relating to taking head on potentially empty list in Interpreter.