This was added by Praveen in the following commit https://github.com/mozilla-b2g/gaia/commit/bd63d95c2d86e9255637a1f8fd9629fa48de56f5#apps/sms . Without it you can reproduce the bug fixed by the commit.