Bug 878431 - [SMS] Select all button not working correctly in some scenarios

- Fix bug : https://bugzilla.mozilla.org/show_bug.cgi?id=878431