Fixed error with location activity, return null on empty deque