PW API Profiles (programmatically): Corrected double entry problem, added areacode filter