added appropriate data cleansing for getActiveListings() so that it can be called with any kind of options