Fixed problems with search and pagination.  Also added paginate buttons to the bottom of the form.