fix for package search result limit being overwriten