overdue: revisit notification queue queries

Go with account record id to avoid querying on the raw json.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>