Use global scope and the correct timestamp field