getLogs.php now correctly returns results