Fix query for latest shifs for a taxi. Fix index to retrieve them