fixes to searching by op email and blocked user middleware