Fix for issue where "END" in a key causes premature end in MC-GET.

I found a major issue where keys which contain the word "END" were prematurely triggering MC-GET to finish. I fixed this by replacing the end test condition to a direct string comparison.

The use of search seems like it was legacy code, as it does character comparison using string-equal.