Trim whitespace from entered ranger handles and incidents types.