Fix a typo in memdep, which was causing PR1648.