Fixed cast INTERVAL to float.