Fix query in messages inbox causing messages to vanish.
Fix query in messages inbox causing messages to vanish.

nycdot/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core