Fix bug noticed by Hironao in hsc/base_tasks.py (#7)