Fixed __decode_cursor(event_cursor) in case we need to re-utilize. Will use it to clean up the code