Very strange... I used exactly the same formula and the result is 0 while the booking in the table is 1.
Do you have any idea while its not returning the correct number?