fixed missing conversion in indexPathForObject method