fixed bug resulting in failing consolidator.py tests (see previous commit)