Fixed recognition of floats bug