When receiving a location update check that it is newer than the last update from the same device before updating the 'last' record. This ensures the 'last' record is always the most recent update from the device in the event updates arrive out of order.
This is a possible solution to issue #313
When receiving a location update check that it is newer than the last update from the same device before updating the 'last' record. This ensures the 'last' record is always the most recent update from the device in the event updates arrive out of order.