Fixes #132

(Also fixes the bug introduced during the perf optimization in subscription base where events are retrieved by account_record_id and where
ordering by effective_date, record_id must be enforced)