BUG: module_search | indexwriter -> fixed a possible bug on postgres statements