Rewrite get_latest_answers + Fix #36

Fix issue #36 + *readable* variables names

added helper functions:
* check_log_types
* and is_<log_activity>_log(entry)