Suppressing stdout for find_index and fixing the macros so no stuff is inserted in non-verbose mode