Fix of routing when APPEND_SLASH is True