Map fixes

SQL query now grants real latest date entries and some view changes