Added conditionals t check undefined lastTickedBy.