mifosx-538 global search functionality query fix