Fix typo and add inversedBy option for timeline entity.

Fix 2 invalid doctrine entity configuration which occurs at runtime.