fetch all rows for switches in a location, fixes #4