Fixed error in prev commit "get_unprocessed_records now returns records w/o error flag".