fix searchpost (better searches)
remove empty values from arrays