I would gues that your start and end time could differ.
In power bi time has granularity of a second.
So if [Start time] is older than [End time] by one second, that will lead to the false scenario.
I also would suggest you to use calculated column instead of measure as a general best practice approach.
Best Regards,