Update LocationsDao.java

Fixed a wrong variable name in the code.