Changed split_on to filter after stripping