Fixed bug with wrong presence status updating.