Fixed logic error in Fluxmap