Remove duplicate variables. ie. 'siteid' and 'pptid' Fixes #8