fix bug with looking up messages by date

since the selectionArgs are strings, you can’t expect sqlite to compare integer values correctly without casting. (WTF)