Modify _last_history function to correctly retrieve the date
Remove self.pool from loop and unnecessary variable
Add length check + retrieve first element from search result
Replace by compact form (PEP8-compatible)
Propagate context + rework ternary if
Merge pull request #58 from mdietrichc2c/fix_last_history_fetch

Modify _last_history function