Added max parameter to find sites call