Fixed bug in the handling of top-level statements that are not pairs