Simplify filterHelperAddresses

Should resolve #15 and simplifies this function.