Fixed occurrence buffer script pk constraint