Fixed double submission of table searches