Bugfix: exclude expired messages in Queue stats.

Change-Id: I870ccab55cb2f39806026981fba241c66aa96218