Fix bug in fixture selection