Extending the exception handler middleware so it properly detects WillPaginate::InvalidPage regardless of it being a tag module.