Added previous queries functionality
Fix populating place select
Merge branch 'feature/previous-queries' into develop