small bug fix in encounters, needs a test for all_singles