Reverted back to using a redirect so that navigation works as expected.

Raising Http404 causes the "Back to Communication Records" button to break. If we can distinguish at which point non-integral values are returned for `record_id`, we can probably reintroduce Http404, but for now, redirecting to overview seemed like a safe way not to impact the user experience negatively.