MD5 fix for issue #546 

Tested with a few queries, should be okay, lmk if i missed something.
If you add 'md5 hash' to line 20 then duckpan will automatically remove the word hash and you might not need all the logic