Added pex search ability
SQL missing comma fixed