Add check to ensure APPEND_SLASH and REMOVE_SLASH are not both True.