confused?

Hi I haven't been using this app very long but have been putting dates of periods in and last week when I checked it said I was due af today so obviously when I woke up this morning and af hadn't shown (always starts early hours has done since I started at age 12) I got a little excited as have been trying for 7 months now and had very early miscarriage 4 months ago. So came on the app and it has changed to 22nd? has this happened to anyone else I'm kind of heart broken as since miscarriage in september days keep changing and periods are only 2 days long I can't keep track. has anyone got any advise.