Fixed keyword overwrite on Error 500 bug

- fixed the bug that was causing webpages that returned Error 500 to
overwrite their own keywords